//
//  ItemActivityView.m
//  YouthOlympic2014
//
//  Created by xiangpaopao on 14-7-1.
//  Copyright (c) 2014年 mitian. All rights reserved.
//

#import "ItemActivityView.h"

#pragma mark - HYActivityView

@interface ItemActivityView ()

@property (nonatomic, copy) NSString *title;

//将要显示在该视图上
@property (nonatomic, weak) UIView *referView;

//内容窗口
@property (nonatomic, strong) UIView *contentView;

//透明的关闭按钮
@property (nonatomic, strong) UIButton *closeButton;

//按钮加载的view
@property (nonatomic, strong) UIView *iconView;


//消失的时候移除
@property (nonatomic, strong) NSLayoutConstraint *contentViewAndViewConstraint;


@end

@implementation ItemActivityView


- (id)initWithReferView:(UIView *)referView
{
    self = [super init];
    if (self) {
        
        if (referView) {
            //self.referView = referView;
        }
        
        
        
        //[self setup];
    }
    return self;
}



- (void)show
{
    
    if (self.isShowing) {
        return;
        
    }
    
}

- (void)hide
{
    if (!self.isShowing) {
        return;
        
    }
    

}






- (void)closeButtonClicked:(UIButton *)button
{
    [self hide];
}



@end
